﻿using System;
using System.Collections.Generic;
using System.Web.Security;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ORS.Web
{
    public partial class indexframe : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (HttpContext.Current.Session["Admim_IDS"] == null)
            {
                FormsAuthentication.RedirectToLoginPage();
            }
            else
            {
                lbltime.Text = DateTime.Today.Date.ToString().Remove(9); 
            }
        }

        protected void btn_exit_Click(object sender, EventArgs e)
        {
            System.Web.HttpContext.Current.Session.Abandon();
            Response.Redirect("Login.aspx");
        }
    }
}


